package com.sooncode.project.focusservice.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.Map;

@RestController
@RequestMapping("padUser")
public class PadUserController {
    @Autowired
    PadUserController service;

    @PostMapping("padUser")
    public boolean add(@RequestParam Map map){
        return service.add(map);
    }
    @PutMapping("padUser")
    public boolean modify(@RequestParam String id,@RequestParam Map map){
        return service.modify(id,map);
    }
}
